//
// Created by zhulingfeng on 2020/2/28.
//
#include "insertion_sort_test.hpp"
#include "sort/insertion_sort.hpp"
ARRAY_INSERTION_SORT_TEST_F(InsertionSort)
TEST_F(InsertionSortTest, InsertionSortWithLowHigh) {
  for (int i = 0; i < unsorted_vectors_.size(); ++i) {
    auto& array = unsorted_vectors_[i];
    InsertionSort(array, 0, array.size() - 1);
    EXPECT_EQ(array, sorted_vectors_[i]);
  }
}
LIST_INSERTION_SORT_TEST_F(InsertionUnstableSort)
LIST_INSERTION_SORT_TEST_F(InsertionStableSort)
